set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -Wall")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC -Wall")

set(SRC_FILES protoTest.cpp)
add_executable(protoTest ${SRC_FILES})
target_include_directories(protoTest PUBLIC ..)
target_include_directories(protoTest PUBLIC ../AsyncIO)
target_include_directories(protoTest PUBLIC ../Coroutine)
target_include_directories(protoTest PUBLIC ../Traits)
target_include_directories(protoTest PUBLIC ../Concurrent)
target_include_directories(protoTest PUBLIC ../Utils)

target_link_libraries(protoTest LINK_PUBLIC OrionV2)

if (APPLE)
    add_definitions(-DOSX)
elseif (LINUX)
    add_definitions(-DLINUX)
endif ()
